package com.yxh.lib_base.ext

import com.blankj.utilcode.util.SizeUtils


fun Float.dp2px() = SizeUtils.dp2px(this)

fun Float.px2dp() = SizeUtils.px2dp(this)

fun Float.px2sp() = SizeUtils.px2sp(this)

fun Float.sp2px() = SizeUtils.sp2px(this)